package com.xueyi.aixihu.service;

import com.xueyi.aixihu.exception.SzException;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author LuQi
 * @类描述 上传文件接口
 * @时间 2021/11/7
 */
public interface UploadFileService {

    /**
     * 上传图片或视频
     * @param file
     * @return
     */
    String uploadImageOrVideo(MultipartFile file) throws SzException;
}
